<%--
  Created by IntelliJ IDEA.
  User: liliting
  Date: 2021/1/22
  Time: 下午4:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>>
<html>
<head>
    <title>Title</title>
</head>
<body>

<form action="/doUpdate" method="post" enctype="multipart/form-data">
    id：
    <input type="text" name="id" value="${tbItem.id}" readonly="readonly"><br>
    名称：
    <input type="text" name="title" value="${tbItem.title}"><br>
    价格：
    <input type="text" name="price" value="${tbItem.price}"><br>
    卖点：
    <input type="text" name="sellPoint" value="${tbItem.sellPoint}"><br>
    数量：
    <input type="text" name="num" value="${tbItem.num}"><br>
    图片：
    <img src="${tbItem.images}">
    <input type="file" name="image"><br>

    <input type="submit" value="修改商品">

</form>

</body>
</html>
